/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package SessionBeans;

import java.util.List;
import javax.ejb.SessionContext;
import javax.ejb.Stateless;

/**
 *
 * @author SOGOBA
 */
@Stateless
public class EuroConvertor implements EuroConvertorLocal {
   // Combien de f rancs f a i t un euro
private static final double UNEUROENFRANC = 6.55957 ;
public double euroToFranc (float montantEnFranc) {
    return montantEnFranc / UNEUROENFRANC;
}
public void ejbCreate ( ) {}
public void ejbRemove ( ) {}
public void ejbActivate ( ) {}
public void ejbPassivate ( ) {}
public void setSessionContext (SessionContext sc) {}

    public double convertToEuro(double amount, String currencySymbol) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public double convertFronEuro(double amount, String currencySymbol) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public List getCurrencySymbols() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getCurrencyRealName(String currencySymbol) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
 
}
